<template>
  <header class="app-header">
    <div class="header-left">
      <button class="menu-toggle">☰</button>
      <span class="system-title">后台管理系统</span>
    </div>
    <div class="header-right">
      <div class="user-menu">
        <span>admin</span>
      </div>
    </div>
  </header>
</template>

<script setup lang="ts">
// Header logic
</script>

<style scoped>
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  background-color: #333;
  height: 45px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 8px;
  color: #fff;
}

.system-title {
  font-size: 0.9rem;
  font-weight: 400;
}

.header-right {
  display: flex;
  align-items: center;
}

.icon {
  margin-left: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.user-menu {
  margin-left: 8px;
  cursor: pointer;
}

.frontend-link {
  margin-left: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
}
</style> 